package kr.saeildamil.androidstudy.ch05;

import kr.saeildamil.androidstudy.R;
import kr.saeildamil.androidstudy.ch04.ButtonAndEditText;
import kr.saeildamil.androidstudy.ch04.ImageViewTest;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch05Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch05_main);
	}
	public void mOnClick(View v){
		switch(v.getId()){
		case R.id.ch05_btn01:
			startActivity(new Intent(this, FrameEx.class));
			break;
		case R.id.ch05_btn02:
			startActivity(new Intent(this, GravityEx1.class));
			break;
		case R.id.ch05_btn03:
			startActivity(new Intent(this, PaddingEx.class));
			break;
		case R.id.ch05_btn04:
			startActivity(new Intent(this, RelativeEx.class));
			break;
		case R.id.ch05_btn05:
			startActivity(new Intent(this, TableEx.class));
			break;
	
		}
	}
}
